import { createApp } from 'vue'
import App from './App.vue'
import axios from 'axios'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from '@/router/router.js'
import store from '@/store/index'

import Vant from 'vant'
import 'vant/lib/index.css'

import 'bootstrap/dist/css/bootstrap.min.css'

const app = createApp(App)

app.use(Vant)
app.use(router)
app.use(store)
app.use(ElementPlus)

axios.defaults.baseURL = 'http://127.0.0.1:8080'
app.config.globalProperties.$http = axios

app.mount('#app')
